Meta description:

When performing an action that deals Acid damage, the character may spend 4 SP to apply a Weakness effect to the affected target. If applied, the target gains Weakness 1 to Slashing damage and Weakness 1 to Blunt damage for a duration of 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the Weakness values do not stack.

  • Name:

    mCorrosiveI

  • Displayed name:

    Corrosive I

  • Description:

    When performing an action that deals Acid damage, the character may spend 4 SP to apply a Weakness effect to the affected target. If applied, the target gains Weakness 1 to Slashing damage and Weakness 1 to Blunt damage for a duration of 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the Weakness values do not stack.

  • Cost:

    expCost(400,200)-0

  • Script:

  • Duration:

    -1

  • Type:

    0

  • Recurrent script:

  • Add ons:

    • Condition:

      action:tagsContain([[acidDamage]])

    • Description:

    • Variables:

      vCorrosiveWeakness = 1 vCorrosiveDuration = 5 vCorrosiveCost = 4

    • Script:

    • Action effects:

      • Use case:

        vCorrosiveUse*3

      • Name:

        Corrosive

      • Description:

        You can spend vCorrosiveCost.string SP to inflict Weakness vCorrosiveWeakness.string to Slashing and Blunt damage for vCorrosiveDuration.string seconds.

      • Script:

        sSlashingWeakness = character:createStat("sSlashingWeakness", "temporary") sSlashingWeakness.displayName:set("Slashing weakness") sBluntWeakness = character:createStat("sBluntWeakness", "temporary") sBluntWeakness.displayName:set("Blunt weakness") mCorrosive = character:createEffect("mCorrosive") mCorrosive.displayName:set("Corrosive") mCorrosive.description:set("The creature suffer from Weakness {{vCorrosiveWeakness}} to to Slashing and Blunt damage.") mCorrosive.duration:set({{vCorrosiveDuration}}) mCorrosive.script:set([=[character.sSlashingWeakness:addNormal({{vCorrosiveWeakness}}, [[natural]], [[Corrosive]]) character.sBluntWeakness:addNormal({{vCorrosiveWeakness}}, [[natural]], [[Corrosive]])]=]) mCorrosive:activate()

      • Variables:

        vCorrosiveUse = ToggleVariable([[vCorrosiveUse]],[[Corrosive]])

  • Upgrades:

    • Name:

      mCorrosiveII

    • Displayed name:

      Corrosive II

    • Description:

      Increases the Weakness duration to 10 seconds.

    • Cost:

      expCost(800,400)-200

    • Script:

      master.displayName:set([[Corrosive II]]) master.description:replace([[5 seconds]],[[10 seconds]]) master.addOns[1].variables:replace([[vCorrosiveDuration = 5]],[[vCorrosiveDuration = 10]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mCorrosiveIII

    • Displayed name:

      Corrosive III

    • Description:

      Increases the Weakness to 2.

    • Cost:

      expCost(1600,400)-400

    • Script:

      master.displayName:set([[Corrosive III]]) master.description:replace([[Weakness 1]],[[Weakness 2]]) master.addOns[1].variables:replace([[vCorrosiveWeakness = 1]],[[vCorrosiveWeakness = 2]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons:

    • Name:

      mCorrosiveIV

    • Displayed name:

      Corrosive IV

    • Description:

      Decrease the SP cost to 3.

    • Cost:

      expCost(2000,500)-800

    • Script:

      master.displayName:set([[Corrosive IV]]) master.description:replace([[spend 4 SP]],[[spend 3 SP]]) master.addOns[1].variables:replace([[vCorrosiveCost = 4]],[[vCorrosiveCost = 3]])

    • Duration:

      -1

    • Type:

      0

    • Recurrent script:

    • Add ons: